//
//  YuHTTPClient.h
//  HuLaQuan
//
//  Created by hok on 1/6/16.
//  Copyright © 2016 Jianghao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GTMBase64.h"
#import <AFNetworking.h>
@interface YuHTTPClient : NSObject

+ (void)XMLDataWithUrl:(NSString *)url parameters:(NSString *)parameter success:(void (^)(BOOL isSuccess, id item))block;

+ (void)XMLFMDataWithUrl:(NSString *)url parameters:(NSString *)parameter success:(void (^)(BOOL isSuccess, id item))block;

+ (NSString *)base64EncodeString:(NSString *)string;
+ (NSString *)base64DecodeString:(NSString *)string;

+ (void)netWorkStatus:(void (^)(id))block;

+(void)DownloadDataWithUrl:(NSString *)url parameters:(NSString *)parameter success:(void (^)(BOOL isSuccess, id item))block progress:(void (^)( float prog))progressBlock;

@end
